package com.jdbc;

public class Pet {
    private int id;
    private Integer user_Id;
    private String petname;
    private String pet_type;
    private int age;
    private String gender;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }



    public String getPetname() {
        return petname;
    }

    public void setPetname(String petname) {
        this.petname = petname;
    }



    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPet_type() {
        return pet_type;
    }

    public void setPet_type(String pet_type) {
        this.pet_type = pet_type;
    }

    public int getUser_Id() {
        return user_Id;
    }

    public void setUser_Id(int user_Id) {
        this.user_Id = user_Id;
    }

    @Override
    public String toString() {
        return "Pet{" +
                "id=" + id +
                ", user_Id=" + user_Id +
                ", petname='" + petname + '\'' +
                ", pet_type='" + pet_type + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                '}';
    }
}
